#ifndef _H_I_PROTOCOL_ENDPOINT_HELPER_H_
#define _H_I_PROTOCOL_ENDPOINT_HELPER_H_

#include "../typedefine.h"
#include "SProtocolEndPoint.h"
#include "../VectorDefine.h"
#include "../StringDefine.h"
#include "../SPromiseDefine.h"

namespace QWER
{
    QDLL_EXPORT QINTERFACE IProtocolEndPointHelper
    {
    public:
#ifndef _USING_CLI
        virtual ~IProtocolEndPointHelper() {}
#endif
        virtual SPromise<PTR(CVector(CString))> GetEndPointAddresses(CONST_REF(SProtocolEndPoint) rsEndPoint) = 0;
    };

	QDLL_EXPORT QINTERFACE IProtocolEndPointHelperCreator
	{
	public:
#ifndef _USING_CLI
		virtual ~IProtocolEndPointHelperCreator(){}
#endif
        virtual PTR(IProtocolEndPointHelper) Create() = 0;
	};
}

#endif
